<template>
    <view class="loading-page">
        <view class="loading-content">
            <image class="loading-logo" :src="commonStore.baseImageUrl+'test-yujia/common/logo-big.png'"></image>
        </view>
    </view>
</template>

<script setup>
import { useCommonStore } from '@/store/index';
import { onMounted } from 'vue';

const commonStore = useCommonStore();

onMounted(() => {
    setTimeout(() => {
    uni.switchTab({
        url: '/pages/index/index'
    });
}, 1500);
});


</script>

<style lang="scss">
.loading-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8FB433;
    background-image: url('https://siyuan-wx-1251107588.cos.ap-beijing.myqcloud.com/sy-qing-chaungye/test-yujia/common/loading-bg.png');
    background-size: 150% 100%;
    background-repeat: no-repeat;
    background-position: 100% center;
    display: flex;
    align-items: center;
    justify-content: center;


    .loading-logo {
        width: 268rpx;
        height: 326rpx;
    }
}
</style>